package com.crm.business.crm.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.crm.business.servlet.BaseService;
import com.crm.common.crm.entity.BO.BillStudentPoolBO;
import com.crm.common.crm.entity.PO.BillCrmStudentPool;
import com.crm.common.ka.core.common.Result;

import java.util.Map;


public interface IBillCrmStudentPoolService extends BaseService<BillCrmStudentPool> {

    IPage<BillCrmStudentPool> queryPageList(BillStudentPoolBO studentPoolBO);

    Result<BillCrmStudentPool> queryById(Integer id);

    Result<Map<String, Object>> update(BillCrmStudentPool billCrmStudentPool);

    /**
     * 设置VIP学员池权限
     * @param auth
     */
    void setStudentPoolAuth(JSONObject auth);

}
